package com.own.business.system.dictionary.base.frame.business.method;

import com.own.business.system.dictionary.adapter.method.SystemDictionaryManageParentMethod;
import com.own.business.system.dictionary.adapter.model.DictionaryParentModel;
import com.own.business.system.dictionary.adapter.model.DictionaryParentQuery;
import com.own.business.system.dictionary.base.frame.business.service.SystemDictionaryService;
import com.own.component.common.model.PageModel;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * SystemDictionaryManageParentMethodImpl
 *
 * @author chenxueli
 * @date 2024-05-21 10:45:00
 */
@Slf4j
@Component
public class SystemDictionaryManageParentMethodImpl implements SystemDictionaryManageParentMethod {

    @Resource
    private SystemDictionaryService systemDictionaryService;

    /**
     * 查询全部
     *
     * @param query 查询条件
     * @return 查询结果
     */
    @Override
    public List<DictionaryParentModel> all(DictionaryParentQuery query) {
        return List.of();
    }

    /**
     * 分页查询
     *
     * @param query 查询条件
     * @return 分页查询结果
     */
    @Override
    public PageModel<DictionaryParentModel> page(DictionaryParentQuery query) {
        return null;
    }

    /**
     * 新增
     *
     * @param model 新增数据
     */
    @Override
    public void add(DictionaryParentModel model) {

    }

    /**
     * 修改
     *
     * @param id    主键id
     * @param model 修改数据
     */
    @Override
    public void update(Long id, DictionaryParentModel model) {

    }

    /**
     * 删除
     *
     * @param id 主键id
     */
    @Override
    public void delete(Long id) {

    }

    /**
     * 根据id查询
     *
     * @param id 主键id
     * @return 查询结果
     */
    @Override
    public DictionaryParentModel getById(Long id) {
        return null;
    }

}
